<?php /* Smarty version 2.6.19, created on 2008-06-24 00:21:08
         compiled from ../templates/media-frontend/album/list_newest.tpl */ ?>
<div class="list-album-content">
    <div class="box-title">
        Album mới cập nhật
    </div>
    <div id="albums">
        <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; border-collapse: collapse;" >
            <tbody>
                <?php $_from = $this->_tpl_vars['albums']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['Itemidx'] => $this->_tpl_vars['album']):
?>
                    <?php if ($this->_tpl_vars['Itemidx'] % 3 == 0): ?>
                        <tr>
                            <td>
                                <ul class="song_albumrow">
                                         <a href="?module=song&act=albumdetail&id=<?php echo $this->_tpl_vars['album']['id']; ?>
" rev="album_song" rel="content">      
                                        <li class="song_album_element">
                                            <div class="song_album_img">
                                                <img width="60" height="60" src="data/avatar/album/<?php echo $this->_tpl_vars['album']['logo']; ?>
"  />
                                            </div>
                                            <strong>
                                            <?php echo $this->_tpl_vars['album']['name']; ?>

                                            </strong><br/>
                                        </li>
                                        </a>
                                    </ul>
                            </td>
                    <?php elseif ($this->_tpl_vars['Itemidx'] % 3 == 1): ?>
                                    <td>
                                        <ul class="song_albumrow">
                                         <a href="?module=song&act=albumdetail&id=<?php echo $this->_tpl_vars['album']['id']; ?>
" rev="album_song" rel="content">      
                                        <li class="song_album_element">
                                            <div class="song_album_img">
                                                <img width="60" height="60" src="data/avatar/album/<?php echo $this->_tpl_vars['album']['logo']; ?>
"  />
                                            </div>
                                            <strong>
                                            <?php echo $this->_tpl_vars['album']['name']; ?>

                                            </strong><br/>
                                        </li>
                                        </a>
                                    </ul>
                                    </td>
                        <?php else: ?>
                                   
                                     <td>
                                       <ul class="song_albumrow">
                                         <a href="?module=song&act=albumdetail&id=<?php echo $this->_tpl_vars['album']['id']; ?>
" rev="album_song" rel="beta-content">      
                                        <li class="song_album_element">
                                            <div class="song_album_img">
                                                <img width="60" height="60" src="data/avatar/album/<?php echo $this->_tpl_vars['album']['logo']; ?>
"  />
                                            </div>
                                            <strong>
                                            <?php echo $this->_tpl_vars['album']['name']; ?>

                                            </strong><br/>
                                        </li>
                                        </a>
                                    </ul>
                                    </td>
                                 
                                 </tr>
                           
                    <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?>
            </tbody>
        </table>
    </div>
</div>